projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d10137
)
Search for Syntax section when viewing MDN
author
Tom Tromey
<tom@tromey.com>
Sun, 17 Sep 2017 03:46:17 +0000
(21:46 -0600)
committer
Tom Tromey
<tom@tromey.com>
Sun, 17 Sep 2017 03:55:05 +0000
(21:55 -0600)
* lisp/textmodes/css-mode.el (css--mdn-after-render): Also search for
"Syntax" section.
lisp/textmodes/css-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/css-mode.el
b/lisp/textmodes/css-mode.el
index dde9e6a8d91d2401f1661c301ee28f88db3af76f..ce9bbf47e77867ff85ace1e8cbfbf6dc76fabcdf 100644
(file)
--- a/
lisp/textmodes/css-mode.el
+++ b/
lisp/textmodes/css-mode.el
@@
-1578,7
+1578,7
@@
to look up will be substituted there."
(goto-char (point-min))
(let ((window (get-buffer-window (current-buffer) 'visible)))
(when window
- (when (re-search-forward "^
Summary
" nil 'move)
+ (when (re-search-forward "^
\\(Summary\\|Syntax\\)
" nil 'move)
(beginning-of-line)
(set-window-start window (point))))))